<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<style>
    .con {
        width: 300px;
        height: 200px;
        background-color: red;
        position: relative;
    }

    .pos {
        width: 100px;
        height: 100px;
        background-color: pink;
        position: absolute;
        left: 30px;
        top: 10px;
    }
    .clearpos{
        position: static;
    }
</style>
<div class="con">
    <div class="pos clearpos">被定位的模块</div>
</div>
</body>
</html>
